// import com.alibaba.druid.DbType;
// import com.alibaba.druid.sql.visitor.SQLASTVisitor;
#pragma once
#include "SQLPrivilegeStatement.h"

class SQLASTVisitor;
class DbType;

class SQLRevokeStatement : virtual public SQLPrivilegeStatement
{
public:
  BOOL_ptr grantOption;

  SQLRevokeStatement();

  SQLRevokeStatement(DbType_ptr dbType);
  SHAREDOBJECT(SQLRevokeStatement);

  void accept0(SQLASTVisitor_ptr visitor);

  BOOL_ptr isGrantOption();

  void setGrantOption(BOOL_ptr grantOption);
};
